#ifndef __GBConfig_h__
#define __GBConfig_h__

#include <string>
#include <iostream>
#include <new>
#include <map>

class GBConfig {
	protected:
		std::string filename;
		std::map<std::string, std::string> hsh;
		int parse();
	public:
		GBConfig(std::string file = "gamebrowser.cfg");
		virtual ~GBConfig();
		//~GBConfig();
		void setValue(const char *key, const char *value);
		std::string getValue(const char *key);
		int getIntValue(const char *key);
};

#endif
